SmartFTP FTP Library
IFTPConnection::SetModifyTime Method

Sets the last modified time of the file.

IDL
HRESULT SetModifyTime(
    [in] BSTR file, 
    [in] FILETIME ft
);

The client tries the following commands until one succeeds: MDTM <time> file, MFMT <time> file, SITE UTIME <time> file, SITE UTIME file <time> <time> <time> UTC 

command to set the time of a remote file. 

VBScript/Javascript: Use the SetModifyTimeAsDate method.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.